<?php

/* 2016-02-29 10:36:23 */

@session_start();

require_once '/../.././LoadClass.php';

$Load = new LoadClass();

$sid = $Load::appReady("PHPStudy");

if((isset($_POST['model']) && $_POST['model'] != '') || (isset($_GET['model']) && $_GET['model'] != '')){

	$modelTo = (isset($_POST['model'])? $_POST['model'] : $_GET['model']);

	modelTo($modelTo);	

}else{

	

	$PHPStudy = new PHPStudy();

	$sid = (isset($_SESSION['sid'])? $_SESSION['sid'] : '');

	if(isset($_GET['sid']) && $_GET['sid'] != '')

		$sid = $_GET['sid'];

	switch($sid)

	{

		default:

			$PHPStudy -> index();

	}

	exit;

}

?>

		